package pl.wr.particle.impl.matter.elementary.fermions.quarks;

import pl.wr.particle.def.matter.elementary.fermions.IQuark;
import pl.wr.particle.impl.Particle;
import pl.wr.physics.units.quantum.Flavour;
import pl.wr.physics.units.quantum.units.ColorCharge;

/**
 * @version 1.0
 * @author wieslaw.rodak
 * 
 */
public abstract class Quark extends Particle implements IQuark {

	/**
	 * Field color.
	 */
	private ColorCharge color;
	/**
	 * Field flavour.
	 */
	private Flavour flavour;

	/**
	 * Constructor for Quark.
	 */
	protected Quark() {
		super();
	}

	/**
	 * Method getColor.
	 * 
	 * 
	 * @return ColorCharge * @see
	 *         pl.wr.particle.def.interactions.IStrong#getColor()
	 */
	public ColorCharge getColor() {
		return color;
	}

	/**
	 * Method setColor.
	 * 
	 * @param color
	 *            ColorCharge
	 * 
	 * @see pl.wr.particle.def.interactions.IStrongForce#setColor(ColorCharge)
	 */
	public void setColor(ColorCharge color) {
		this.color = color;
	}

	/**
	 * Method getFlavour.
	 * 
	 * @return Flavour
	 */
	public Flavour getFlavour() {
		return flavour;
	}

	/**
	 * Method setFlavour.
	 * 
	 * @param flavour
	 *            Flavour
	 */
	protected void setFlavour(Flavour flavour) {
		this.flavour = flavour;
	}

}
